
# Build C++ code in assorted NLP subdirectories

ADD_SUBDIRECTORY (irc)
ADD_SUBDIRECTORY (scm)
ADD_SUBDIRECTORY (sentiment)
ADD_SUBDIRECTORY (types)
ADD_SUBDIRECTORY (wsd)

# NOTE: Set BUILD_LOJBAN variable by running `cmake -DBUILD_LOJBAN=1 ..` from
# the build directory.
IF (HAVE_STACK AND BUILD_LOJBAN)
	ADD_SUBDIRECTORY (lojban)
ENDIF (HAVE_STACK AND BUILD_LOJBAN)

IF (HAVE_NLP)
	# Listed in alphabetical order ...
	ADD_SUBDIRECTORY (aiml)
	ADD_SUBDIRECTORY (chatbot)
	ADD_SUBDIRECTORY (chatbot-psi)

	# fuzzy depends on attentionbank
	IF (HAVE_BANK)
		ADD_SUBDIRECTORY (fuzzy)
	ENDIF (HAVE_BANK)

	ADD_SUBDIRECTORY (lg-dict)
	ADD_SUBDIRECTORY (lg-parse)
	ADD_SUBDIRECTORY (microplanning)
	ADD_SUBDIRECTORY (relex2logic)
	ADD_SUBDIRECTORY (sureal)
ENDIF (HAVE_NLP)
